/*
 * @Description: 数组
 * 
 * @Author: rendc
 * 
 * @Date: 2025-07-23 09:28:08
 * 
 * @LastEditors: rendc
 * 
 * @LastEditTime: 2025-07-23 09:58:32
 */

public class Test01 {

  public static void main(String[] args) {
    int a = 10;
    System.out.println(a); // 10
    // 初始化数组
    // int arr1[] = { 0, 1, 2 };
    int[] arr1 = { 0, 1, 2 };
    System.out.println(arr1);
    int[] arr2 = new int[3];
    System.out.println(arr2);
    String[] arr3 = new String[3];
    System.out.println("String:arr3:" + arr3);
    System.out.println("String:arr3[0]:" + arr3[0]);
    double[] arr4 = new double[3];
    System.out.println("double:arr4[0]:" + arr4[0]);
    System.out.println("double:arr4:" + arr4);
    char[] arr5 = new char[3];
    System.out.println("char:arr5[0]:" + arr5[0]);
    System.out.println("char:arr5:" + arr5);
    // toString();
    // Array

  }

}